<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <script th:src="@{/jquery.min.js}"></script>
    <script type="text/javascript">
    $(function(){

            // alert(1);
            $.ajax({
                type: "POST",
                url: "http://localhost:9092/testProcess/findDeploymentList",
                // data: "name=John&pwd=11111",
                success: function(data){
                    // alert( data );
                    // console.debug(data);
                    $("#deploymentTb").html("");
                    $("#deploymentTb").append("<tr>\n" +
                        "          <td>部署ID</td>\n" +
                        "          <td>部署名</td>\n" +
                        "        </tr>");
                    $("#deploymentTb").each( { name: "John", lang: "JS" }, function(i, n){
                        alert( "Name: " + i + ", Value: " + n );
                    });
                }
            });


    });


    </script>


    <h6>部署模型</h6>
    <table border="1" width="500" id="deploymentTb">
        <tr>
          <td>部署ID</td>
          <td>部署名</td>
        </tr>
    </table>
</body>
</html>